﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="demoDialog.aspx.cs" Inherits="CSS_Dialog_demoDialog" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
  <title></title>
  <link href="css/dialog.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    
    <asp:ScriptManager 
      ID="SM" 
      runat="server">
    </asp:ScriptManager>
    
    <div>
      <asp:Button 
        ID="BtnShowDialog" 
        Text="Show Dialog"
        runat="server" onclick="BtnShowDialog_Click" />
      
      <asp:Button 
        ID="BtnHidden" 
        Style="display: none" 
        runat="Server" />
      
      <cc1:ModalPopupExtender 
        ID="ModalPopupControl" 
        TargetControlID="BtnHidden" 
        PopupControlID="dialog" 
        BackgroundCssClass="modalBackground"
        runat="server" />
      
      <asp:Panel 
        ID="dialog" 
        CssClass="dialog popup-window"
        runat="server">
        
        <asp:LinkButton 
          ID="BtnClose" 
          CssClass="dialog-close"
          runat="server" />
        
        <div class="container">
          
          <div class="title">
            新增<span>節慶活動基本資料</span> 
          </div>
          
          <div class="content">
          </div>
          
          <div class="footer" >
            <div class="button-contianer">
              <asp:Button 
                ID="BtnSave" 
                CssClass="button submit"
                Text="存檔" 
                runat="server" />
              <asp:Button 
                ID="BtnCancel" 
                CssClass="button cancel"
                Text="取消" 
                runat="server" />
            </div>
          </div>
          
        </div>  
        
      </asp:Panel>
    </div>
    </form>
</body>
</html>
